<template>
	<view class="content">
		<!-- 销售报表 -->
		<sale ref="sale"></sale>
	</view>
</template>

<script>

// import sale from "../../components/report/sale/Sale.vue";
import sale from "@/components/report/saleV3/Sale.vue";
import staticConst from '@/js/const/StaticConst.js';

export default {
	components: {
		sale,
	},
	data() {
		return {
			curPage: staticConst.REP_XS,
			curIndex: 1,  //1,
			actType: 0,// 0:新增产品 1：编辑产品
			isNotData: false, // 没有数据
			isClickUpDownBtn: false,
			mdGd: staticConst.MD_GD,//模块
		}
	},
	onLoad() {
	},

	onShow() {
		this.addEvent();
	},

	onHide() {
		this.removeEvent();
	},

	onUnload() {
		this.removeEvent();
	},

	onReady() {
		this.$refs.sale.initData();
	},

	methods: {
		/****显示上传产品列表窗口****/
		showUploadGdsWin() {
			// this.$refs.uploadGoodsFile.show("show");
		},

		/*****显示上传下载菜单****/
		upDownClick() {
			this.isClickUpDownBtn = true;
			this.$refs.upAndDownLoadMenu.show();
		},

		removeEvent() {
		},

		addEvent() {
		},
	},
}
</script>
<style lang="scss">
.content {
	// display: flex;
	// justify-content: flex-start;
	// min-width: 820px;
	height: 100%;
	// position: relative;
}
</style>